package models

import "github.com/xi3/qshop/Godeps/_workspace/src/github.com/jinzhu/gorm"

//User base user model
type User struct {
	gorm.Model
	Mobile string
	Name   string
	Role   string
}

// DisplayName returns user's name
func (u User) DisplayName() string {
	return u.Name
}
